package com.yusys.pattern.mode.decorator.mybatis;

import java.util.HashMap;
import java.util.Map;

/**
 * 缓存基类
 */
public class BaseCache implements Cache{

    Map<String,Object> cacheObj = new HashMap<>();


    @Override
    public Object getCache(String key) {
        return cacheObj.get(key);
    }

    @Override
    public void putObject(String key, Object value) {
        cacheObj.put(key, value);
    }
}
